package com.ocom.common.vo.company;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class EntityBizApplyExtendVo {


    private Integer id;

    private String title;
    private Long comId;

    @JsonProperty("pId")
    private Long pId;

    private Long businessId;
    private String activitiKey;
    private String defKey;

    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date lastApprovalTime;

    private String lastApprovalUser;

    //流程状态:0-进行中;1-已完成;2-已驳回;3-已撤销;
    private Integer status;

    private Long applyDeptId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date applyTime;

    /**
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date updateTime;

    private String reason;
    private String pic;
    private BigDecimal days;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date endTime;

    @JsonProperty("pName")
    private String pName;

    @JsonProperty("pCode")
    private String pCode;

    private String photo;

    private String phone;

}
